package com.tl.boot.mapper.user;

import com.tl.boot.entity.user.domain.condition.ListUsersCondition;
import com.tl.boot.entity.user.domain.po.UserBasicInfo;
import com.tl.boot.entity.user.vo.BaseInfoVO;
import com.tl.boot.entity.user.vo.UserInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * com.tl.boot.mapper.user -- UserMapper
 * Description:
 * Created by joshua_liu <a href="mailto:joshualwork@163.com"></a>
 * On 2019/9/17 8:30
 */
public interface UserMapper {

    void addUserBasicInfo(UserBasicInfo basicInfo);

    void updateUserBasicInfo(UserBasicInfo userBasicInfo);

    List<UserInfoVO> listUsers(ListUsersCondition condition);

    BaseInfoVO getBaseInfo(@Param("userId") Long userId);
}
